package com.gzhryc.net_marketing.cloud;

import com.gzhryc.shared_device.common.payment.dao.db.AlipayConfig;
import com.gzhryc.shared_device.common.payment.dao.db.WXPayConfig;

public class PayCallbackUtils {

    public static String getPayNativeNotifyUrl(WXPayConfig wxPayConfig) {
        return "/paycall/wxpay/" + wxPayConfig.getAppId() + "/native/pay";
    }

    public static String getRefundNativeNotifyUrl(WXPayConfig wxPayConfig){
        return "/paycall/wxpay/" + wxPayConfig.getAppId() + "/native/refund";
    }

    public static String getPayNativeNotifyUrl(AlipayConfig alipayConfig) {
        return "/paycall/alipay/" + alipayConfig.getAppId() + "/native/pay";
    }
}
